package com.mapper.auto;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.model.auto.MendaoTestReport;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author astupidcoder
 * @since 2022-09-14
 */
@Mapper
@Repository
public interface MendaoTestReportMapper extends BaseMapper<MendaoTestReport> {
    MendaoTestReport findOne(@Param("id") Long id);

    List<MendaoTestReport> getListByTestId(@Param("testId") long testId);

    int insertDate(@Param("testReport") MendaoTestReport testReport);

    void updateDate(@Param("testReport") MendaoTestReport testReport);
}
